﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <CustomAction Id="e1ca7773-3271-4e3e-b6c7-2dc3c1f0810d.ProofExistenceAction"
                RegistrationType="List"
                RegistrationId="101"
                Location="CommandUI.Ribbon"
                Sequence="10001"
                HostWebDialog="true"
                HostWebDialogHeight="400"
                HostWebDialogWidth="500"
                Title="Proof of Existence">
    <CommandUIExtension>
      <!-- 
      Update the UI definitions below with the controls and the command actions
      that you want to enable for the custom action.
      -->
      <CommandUIDefinitions>
        <CommandUIDefinition Location="Ribbon.Documents.Manage.Controls._children">
          <Button Id="Ribbon.Library.Connect.ProofExistenceActionButton"
                  Alt="Proof Existence"
                  Sequence="115"
                  Command="Invoke_ProofExistenceActionButtonRequest"
                  LabelText="Proof Existence"
                  TemplateAlias="o1"
                  Image32by32=""
                  Image16by16=""  />
        </CommandUIDefinition>
      </CommandUIDefinitions>
      <CommandUIHandlers>
        <CommandUIHandler Command="Invoke_ProofExistenceActionButtonRequest"
                          CommandAction="~appWebUrl/Pages/Default.aspx?{StandardTokens}&amp;SPListItemId={SelectedItemId}&amp;SPListId={SelectedListId}"/>
      </CommandUIHandlers>
    </CommandUIExtension >
  </CustomAction>
</Elements>
